package exceptions;

public class InconsistentValueException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String mistake;

	public InconsistentValueException() {
		super(); // call superclass constructor
		mistake = "unknown";
	}

	public InconsistentValueException(String err) {
		super(err); // call super class constructor
		mistake = err; // save message
	}

	public String getError() {
		return mistake;
	}

}
